const mongoose = require("mongoose")
mongoose
    .connect('mongodb+srv://3193511917:RPX55SngXQEquXPa@cluster0.0u7u3th.mongodb.net/zg5xm')//127.0.0.1
    .then(() => {
        console.log("数据库连接成功");
    })
    .catch((err) => {
        console.log('数据库连接失败,错误原因是：', err);
    })
module.exports=mongoose